interface points {
  lat: number;
  lng: number;
}

/**新增摄像头表单数据 */
export interface RuleForm {
  alias: string;
  device_id: string;
  build: string;
  storey: string;
  location: string;
  username: string;
  password: string;
  lng?: number;
  lat?: number;
  point?: points;
  record: boolean;
  uuid: string;
  rtsp_uri: string;
  rtsp_uri1: string;
  rtsp_uri2: string;
  id?: number;
}

/**检测摄像头列表 */
export interface detectionTable {
  addx: string;
  detection: boolean;
  exists: boolean;
  id: number;
  name: string;
  state: string;
  uuid: string;
}
